﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:rscoreWPF="clr-namespace:RSCore.Helper.WPF"
	x:Class="RSCore.Helper.WPF.UpdatePanel">
    <rscoreWPF:AirspaceOverlay x:Name="overlay">
        <rscoreWPF:AirspaceOverlay.OverlayChild>
            <Border Background="#aaaaaaaa">
                <Border Width="300" Height="100" BorderThickness="1" CornerRadius="3" VerticalAlignment="Center">
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
                            <GradientStop Color="#ee222222" Offset="0"/>
                            <GradientStop Color="#ee333333" Offset="0.5"/>
                            <GradientStop Color="#ee222222" Offset="1"/>
                        </LinearGradientBrush>
                    </Border.Background>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="10"/>
                            <RowDefinition Height="50"/>
                            <RowDefinition Height="33"/>
                            <RowDefinition Height="10"/>
                        </Grid.RowDefinitions>

                        <rscoreWPF:Spinner x:Name="spinner" Grid.Row="1"/>
                        <Label Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Top" Content="Please wait..." FontFamily="Arial Rounded MT" FontSize="18" Foreground="#FFE4E4E4"/>
                    </Grid>
                </Border>
            </Border>
            
        </rscoreWPF:AirspaceOverlay.OverlayChild>
    </rscoreWPF:AirspaceOverlay>
</UserControl>
